#ifndef __LED_H
#define __LED_H
#include "includes.h"

#define MAX_TIME (0X2000)
#define MIN_TIME (0)      
#define SPEED    (1000)//呼吸速度   
#define LED_GPIO_Clk      RCU_GPIOB

#define LED_GPIO_Port			GPIOB
#define LED_GPIO_Pin 			GPIO_PIN_9

/*函数声明*/
void LED_Init(void);
void Delay(uint32_t nCount);
void LED_ON(void);
void LED_OFF(void);
void LED_Toggle(void);
uint8_t LED_Flash(uint32_t cycle_ms);
void LED_Loop(int,int);
void LED_Breath(void); 

#endif
